<%--
  Created by IntelliJ IDEA.n   b
  User: 邂逅
  Date: 2024/11/28
  Time: 下午8:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册用户</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
        }

        form {
            background-color: white;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
            width: 350px;
            margin: 0 auto;
        }

        label {
            display: block;
            margin-bottom: 5px;
        }

        input[type="text"],
        input[type="password"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 3px;
        }

        input[type="submit"] {
            background-color: #007BFF;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 3px;
            cursor: pointer;
        }
        button{
            background-color: #007BFF;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 3px;
            cursor: pointer;
        }
    </style>
</head>
<body>
<form action="login.jsp" method="post">
    <h2>用户注册</h2>
    <label for="username">用户名：</label>
    <input type="text" id="username" name="username" required><br>
    <label for="user id">账号：</label>
    <input type="text" id="user id" name="user id"><br>
    <label for="password">密码：</label>
    <input type="password" id="password" name="password" required><br>
    <label for="confirmPassword">确认密码：</label>
    <input type="password" id="confirmPassword" name="confirmPassword" required><br>
    <label for="phone">手机号码：</label>
    <input type="text" id="phone" name="phone"><br>
    <a href="login.jsp">已有账号？返回登录</a><br>
    <input type="submit" value="注册">
</form>
</body>
</html>
